<?php
function compiler($text,$lFlag,$rFlag)
{
	$matches = array();
	$num = preg_match_all("/{$lFlag}(.*){$rFlag}/",$text,$matches,PREG_PATTERN_ORDER);
	if($num>0)
	return $matches[1];
	else
	return 0;
}
?>